<?php 
require('./express/YunpianAutoload.php');

// 获取用户信息
// $userOperator = new UserOperator();
// $result = $userOperator->get();
// print_r($result);

// 发送单条短信
$rand = mt_rand(1000,9999);
$smsOperator = new SmsOperator();
$data['mobile'] = '18748342258';
$data['text'] = '【云片网】您的验证码是'.$rand;
$result = $smsOperator->single_send($data);
print_r($result);